package com.authine.cloudpivot.ext.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;


@Builder
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "树形返回数据")
public class TreeData {

    // 显示的值
    private String title;

    // 隐藏的值
    private String key;

    //子树
    private List<TreeData> children;

}
